#
# heater control configuration file
#
# Utility to respond to the Ingenic XBurst USB boot protocol, provide
# initial boot stages and ability to access NAND on device.
#
# Authors: Duke Fong <duke@dukelec.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

CXX=mipsel-openwrt-linux-g++

#LDFLAGS := -L../../lib -lcmd -lusb

all : hc-list hc-mcu

#hc : main.o Wifi_helper.o
#	$(CXX) -o hc main.o Wifi_helper.o $(LDFLAGS)

hc-list : hc-list.cc
	$(CXX) -c hc-list.cc
	$(CXX) -o hc-list hc-list.o

hc-mcu : hc-mcu.cc
	$(CXX) -c hc-mcu.cc
	$(CXX) -o hc-mcu hc-mcu.o

clean :
	rm -rf *.o hc

